export default [
  {
    description: "表单物料",
    list: [
      {
        tag: "aegle-input",
        description: "文本输入",
        props: {
          placeholder: "请输入内容",
        },
        attrs: {
          placeholder: "请输入内容",
        },
        style: {
          width: "",
        },
        on: {},
        name: "uname",
        label: "输入框",
        events: [

        ],
        data: {},
        formItem: true,
      },
      {
        tag: "aegle-radio",
        description: "单选框",
        props: {


        },
        style: {
          width: "",
        },
        label: "单选框",
        name: "gender",
        data: {
          options: [
            { value: "1", label: "男" },
            { value: "2", label: "女" },
          ],
        },
        formItem: false,
      },
      {
        tag: "aegle-select",
        description: "下拉选择",
        props: {
          value: "",

        },
        style: {
          width: "",
        },
        label: "下拉选择",
        name: "hh",
        data: {
          options: [
            { value: "1", label: "男" },
            { value: "2", label: "女" },
          ],
        },
        formItem: true,
      },
      {
        tag: "aegle-checkbox",
        description: "复选框",
        data: {
          options: [
            { value: "0", label: "手动" },
            { value: "1", label: "自动" },
          ],
        },
        name: "sex",
        props: {
          disabled: false
        },
        style: {
          width: "",
        },
        label: "复选框",
        formItem: false,
      },
      {
        tag: "aegle-date-picker",
        description: "日期选择",
        props: {
          type: 'date'
        },
        style: {
          width: "",
        },
        label: "日期选择",
        name: "birth",
        data: {},
        formItem: false,
      },
    ],
  },
  {
    description: "布局物料",
    list: [
      {
        tag: "aegle-page",
        description: "页面",
        props: {
          direction: "vertical"
        },
        style: {
          width: "",
          height: "",
        },
        children: [],
      },
      {
        tag: "el-row",
        description: "栅格布局",

        props: {},
        style: {
          height: "",
          width: "",
        },
        children: [
          {
            tag: "el-col",
            props: {
              span: 12,
            },
            style: {
              "min-height": "50px",
              width: "",
            },
            children: [],
          },
        ],
      },
      {
        tag: "aegle-form",
        description: "表单",
        style: {
          "height": "300px",
          width: "",
        },
        ref: "el-form-1",
        props: {
          rules: {
            field1: [
              { required: true, message: "请输入姓名", trigger: "blur" },
            ],
          },
          model: {},
          templateName: "getstudent",
          labelWidth: "80px",
        },
        data: {
          form: {}
        },
        children: [],
      },

      {
        tag: "el-col",
        description: "col",
        props: {
          span: 12,
        },
        style: {
          "min-height": "50px",
          width: "",
        },
        children: [],
        id: 2,
      },
    ],
  },
  {
    description: "普通标签",
    list: [
      {
        tag: "aegle-span",
        description: "aegle-span",
        props: {

        },
        style: {

        },
        data: {
          name: "张全奎",
          age: 12
        },
        template: '我叫 ${name},今年 ${age}岁'
      },
      {
        tag: "aegle-table",
        description: "table 表格",
        props: {

        },
        style: {

        },
        data: {
          list: [],
          column: []
        },
        api: {

        }
      },
      {
        tag: "aegle-button",
        description: "button 按钮",
        props: {

        },
        style: {

        },
        data: {
          list: [],
          column: []
        },
        events: [

        ],
        scopedSlots: {
          default: "保存"
        },
      },
    ]
  }
];
